package com.hz.airline.dao;

import com.hz.airline.entity.Flight;
import org.springframework.data.repository.CrudRepository;

/**
 * Created by kevin on 2020/2/2 17:06
 */
public interface FlightDao extends CrudRepository<Flight, Integer> {

    Flight findByFlightnumberid(String flightnumberid);

    Flight findByFlightnumberidAndCabinname(String flightnumberid, String cabinname);
}
